package com.example.demo.param;

/**
 * 由前端传入的自定义对象，封装分页查询所需的页码和每页数量
 */
public class BasePageParam {
    protected int pageNum =0;//页码，默认是0，表示第一页
    protected int pageSize=10;//每页数量，默认是10

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

}
